import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "@/store/store";
import Element from "element-ui";
import axios from 'axios'
import echarts from 'echarts'
//import moment from 'moment'
import 'lib-flexible'
import 'amfe-flexible'
Vue.prototype.$echarts = echarts
// import VueContextMenu from '@xunlei/vue-context-menu'
// import rightMenu from "rightMenu";
// vue.use(rightMenu);


// 公共样式
import "@/style/base.css";
import "element-ui/lib/theme-chalk/index.css";
import "@/style/iconfont.css";
import "@/style/common.less";
import "@/style/global.less";

Vue.use(Element);
// Vue.use(VueContextMenu)
Vue.prototype.$axios = axios;
Vue.config.productionTip = false;
// 定义一个全局过滤器实现日期格式化
//Vue.prototype.$moment = moment

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");